import React from 'react';
import {StyleSheet, View, Button, Text} from 'react-native';

const ButtonDemo7_10 = () => {
  const onPress = () => {
    console.log('buttom press....');
  };

  return (
    <View style={styles.root}>
      <Text style={{color: 'orange', fontSize: 20, textAlign: 'center'}}>
        7_10ButtomDemo
      </Text>
      <Button title="按 钮button" color={'green'} onPress={onPress} />
    </View>
  );
};

const styles = StyleSheet.create({
  root: {
    width: '100%',
    height: 'auto',
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#F0F0F0',
  },
});
export default ButtonDemo7_10;
